package compiler.typesinit;

import java.util.List;

import compiler.CompilerException;

/**
 * Exception designed to be thrown when semantic errors occur.
 * @author Karol Stosiek
 */
public class TypesInitErrorException extends CompilerException {

  /**
   * Needed for some reason.
   */
  private static final long serialVersionUID = 5878607244468991931L;
  
  /**
   * SemanticErrorException constructor.
   * @param message - additional information
   * @param err - list of semantic errors
   */
  public TypesInitErrorException(String message, List<String> err)
  {
    super(message, err);
  } 
}
